home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ Win2K TCPIP Sec 5.xpl < prev    next >
Text File  |  2002-12-05  |  2KB  |  52 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="7"
  3. "COUNT"="2"
  4. "UIPATH"="Network\TCP/IP Hardening
  5. "NAME"="Gateway Change"
  6. "OSVERSION"="0001011"
  7. "VERSION"="1.01"
  8. "LANGUAGE"="VBScript"
  9. "WARNING"="1"
  10. "TEXT 1"="Enable Gateway changing (Default)"
  11. "TEXT 2"="Never ever change the configured gateway" 
  12. "DESCRIPTION 1"="The TCP/IP Protocol separates the entire address space into different segments called subnets. When a computer from one subnet wants to speak to another computer on a different subnet, it will do this not directly, but forward the data to a gateway. This gateway will then forward the data to the correct computer in the other subnet.
  13. "DESCRIPTION 2"="Inside a LAN, your gateway will properly be a router or a switch that helps to keep the network running. By default, Windows can dynamically switch to a backup gateway when it detects that the default gateway is "dead" (not responding) and can switch to a backup gateway. 
  14. "DESCRIPTION 3"="A hacker could use this feature to trick the server. The hacker first bombs the real gateway with a lot of garbage data so it's overloaded and can no longer respond (Denial Of Service Attack). The hacker then announces its own computer as backup gateway. 
  15. "DESCRIPTION 4"="The server will detect that the real gateway is dead and searches for a backup gateway which is now the computer of the hacker. Thus, any data the server sends back to the clients it serves, will go through the computer of the hacker. This allows him to look for interesting data.
  16. "DESCRIPTION 5"="When this setting (also known as Dead Gateway Detect) is turned off, Windows will never ever use a backup gateway and will always try to send through the primary gateway.
  17. "AUTHOR"="Xteq Systems"
  18. "CONTACTURL"="http://www.xteq.com/"
  19. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  20. "COMMENT 1"=" "
  21.  
  22.  
  23.  
  24. sP="HKLM\System\CurrentControlSet\Services\TcpIp\Parameters\EnableDeadGWDetect" 'DW 0 = never switch
  25.  
  26. Sub Plugin_Initialize 
  27.  i=RegReadValue(sP)
  28.  
  29.  if i=1 or IsEmpty(i) then 
  30.     SetUIElement 1,true
  31.  else
  32.     SetUIElement 2,true
  33.  end if
  34.  
  35. End Sub
  36.  
  37. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  38.  if GetUIElement(1)=true then
  39.     If RegValueExists(sP) then 
  40.        Call RegDeleteValue(sP)
  41.     end if
  42.  else
  43.     Call RegWriteValue(sP,0,2)
  44.  end if
  45.  
  46.  Call Restart()
  47. End Sub
  48.  
  49. Sub Plugin_Terminate 
  50. End Sub
  51.  
  52.